package com.jinzihan.dao;

import com.jinzihan.entity.Order;

import java.util.List;

public interface OrderDao {
    public int saveOrder(Order order);

    public List<Order> queryMyOrders(int id);

    public List<Order> queryAllOrders();

    public int changeOrderStatus(int status,int id);

    public int queryClassroomId(int orderId);

    public int queryForOrderCount();

    public List<Order> queryForPageItems(int begin,int pageSize);

    public List<Order> queryForMyPageItems(int studentId , int begin , int pageSize);

    public int queryForMyOrderCount(int studentId);

    public Order queryForOrderById(int id);
}
